<template>
 <div>
   <div>
    <i-button>Default</i-button>
    <i-button type="primary">Primary</i-button>
    
    <i-button type="dashed">Dashed</i-button>
    <i-button type="text">Text</i-button>
    <br><br>
    <i-button type="info">信息按钮</i-button>
    <i-button type="success">成功按钮</i-button>
    <i-button type="warning">警告按钮</i-button>
    <i-button type="error" @click="showBox" >错误按钮</i-button>
   </div>
   <div>
     <el-button type="primary" @click="showBox">点我吧</el-button>
   </div>
</div>
</template>
<script>
import {Message} from "@c/evanUi";
export default {
  data () {
    return {
      
    }
  },
  methods:{
    showBox(){ 
      //this.$Message.info('这是一条普通的提醒');
      //this.$message.info("nihao")
      Message.info({
        text:"这只是测试代码，咱别激动",
        duration:3000
      })

    }
  }
}
</script>





